package com.baizhi.springboot.entity;

public class Lesson {
    /*`lesson_id` int(100) NOT NULL AUTO_INCREMENT,
  `lesson_name` varchar(100) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `lesson_status` int(11) DEFAULT NULL,*/
    private Integer lessonId;
    private String lessonName;
    private Integer userId;
    private Integer lessonStatus;

    @Override
    public String toString() {
        return "Lesson{" +
                "lessonId=" + lessonId +
                ", lessonName='" + lessonName + '\'' +
                ", userId=" + userId +
                ", lessonStatus=" + lessonStatus +
                '}';
    }

    public Integer getLessonId() {
        return lessonId;
    }

    public void setLessonId(Integer lessonId) {
        this.lessonId = lessonId;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLessonStatus() {
        return lessonStatus;
    }

    public void setLessonStatus(Integer lessonStatus) {
        this.lessonStatus = lessonStatus;
    }

    public Lesson(Integer lessonId, String lessonName, Integer userId, Integer lessonStatus) {
        this.lessonId = lessonId;
        this.lessonName = lessonName;
        this.userId = userId;
        this.lessonStatus = lessonStatus;
    }

    public Lesson() {
    }
}
